package com.training.content.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.training.common.annotation.Excel;
import com.training.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 考核信息对象 assess_info
 * 
 * @author training
 * @date 2021-10-25
 */
public class AssessInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long assessId;

    /** 考核名称 */
    @Excel(name = "考核名称")
    private String assessName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 考核人员 英文逗号分隔 */
    @Excel(name = "考核人员 英文逗号分隔")
    private String assessPerson;

    /** 考核总分 */
    @Excel(name = "考核总分")
    private Long totalScore;

    /** 公司Id */
    @Excel(name = "公司Id")
    private Long companyId;

    public void setAssessId(Long assessId) 
    {
        this.assessId = assessId;
    }

    public Long getAssessId() 
    {
        return assessId;
    }
    public void setAssessName(String assessName) 
    {
        this.assessName = assessName;
    }

    public String getAssessName() 
    {
        return assessName;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setAssessPerson(String assessPerson) 
    {
        this.assessPerson = assessPerson;
    }

    public String getAssessPerson() 
    {
        return assessPerson;
    }
    public void setTotalScore(Long totalScore) 
    {
        this.totalScore = totalScore;
    }

    public Long getTotalScore() 
    {
        return totalScore;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("assessId", getAssessId())
            .append("assessName", getAssessName())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("assessPerson", getAssessPerson())
            .append("totalScore", getTotalScore())
            .append("companyId", getCompanyId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
